package com.yunfangdata.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Getter
@Setter
@ToString
public class OtherCases extends BaseDomain{

    private Long id;

    //合同签订日期
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    //数据传入使用日期类型
    @DateTimeFormat(pattern = "yyyy-MM-dd" )
    private Date dateOfContract;
    //合同类别
    private Long titleOfContract;
    //合同号
    private String contractNumber;
    //合同期限
    private Integer termOfContract;
    //合同到期日期
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    //数据传入使用日期类型
    @DateTimeFormat(pattern = "yyyy-MM-dd" )
    private Date contractExpiryDate;
    //暂住证号
    private String stayNumber;
    //备注
    private String remark;
    //staffId
    private Long staffId;

}